﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace DCH.Areas.Admin.Models
{
   
    public class News
    {
        [Key]
        public int ID { get; set; }
        public string imageThumbnail { get; set; }
        public string Title { get; set; }
        public string description { get; set; }
        [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
        public DateTime Date { get; set; }
       

       
    }
   
}